<script>
import mixin from '../mixins/index'
export default {
    name: 'mixinText',
    mixins: [mixin],
    deta: {
        obj: {
            x: 123
        }
    },
    mounted(){
        console.log('组件的mounted')
    }
}
</script>

<template>
    <div>vue2写法的mixin</div>
</template>
